include "book_store.h"

int main() {
    const int N = 100010;
    vector<Book*> books(N, nullptr);

    int bookNums = 0;
    try {
        bookNums = createBooks("info_books.txt", books);
    } catch (FileNotFoundException &e){
        cout << e.what() << endl;
    }

    outputBinaryFiles(books, bookNums);
    readBinaryFiles(books, bookNums);

    return 0;
}